# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class PurgeTaskInfo(object):

    def __init__(self, url=None, fileId=None, originNum=None, remainNum=None, curUnfinished=None, status=None, errInfo=None, expireAt=None):
        """
        :param url: (Optional) url
        :param fileId: (Optional) 文件id
        :param originNum: (Optional) 原来总共的副本数
        :param remainNum: (Optional) 刷新后剩余的副本数
        :param curUnfinished: (Optional) 剩余
        :param status: (Optional) 1:active，2:表示purge中暂时停止预热
        :param errInfo: (Optional) 失败预热的原因
        :param expireAt: (Optional) 热度计算下发任务的过期时间
        """

        self.url = url
        self.fileId = fileId
        self.originNum = originNum
        self.remainNum = remainNum
        self.curUnfinished = curUnfinished
        self.status = status
        self.errInfo = errInfo
        self.expireAt = expireAt
